import request from '@/utils/request'
export const getConsumersList = function(params) {
  return request({
    url: '/customer?page='  + params.page + '&pageSize=' + params.pageSize + '&name=' + params.customerName,
    method: 'get'
  })
}
export const deleteConsumersById = function(id) {
  return request({
    url: '/order/delete?order_id=' + id,
    method: 'delete'
  })
}